<${emailCharacter!}dwz.pagerForm action="${braceStart}request.contextPath${braceEnd}/test/list" page=page>
<#list paramColumns as column>
<input type="hidden" name="${column.fieldName!}" value="${braceStart}paramter.${column.fieldName!}!${braceEnd}" />
</#list>
</${emailCharacter!}dwz.pagerForm>
<div class="pageHeader">
	<form action="${braceStart}request.contextPath${braceEnd}/test/list" onsubmit="return navTabSearch(this);" method="POST">
		<table width="100%" cellspacing="1" cellpadding="3" class="input">
			<#list paramColumns as column>
			<tr>
				<td style="text-align:right;">${column.remark!}：</td>
				<td>
					<#if column.javaTypeName=="String">
					<input type="text" name="${column.fieldName!}" value="${braceStart}paramter.${column.fieldName!}!${braceEnd}" maxlength="${column.columnSize!}"/>
					<#elseif column.javaTypeName=="Timestamp">
					<input type="text" name="${column.fieldName!}" value="${braceStart}paramter.${column.fieldName!}!${braceEnd}" readonly="readonly" class="date" dateFmt="yyyy-MM-dd HH:mm" />
					<#elseif column.javaTypeName=="Integer">
					<input type="text" name="${column.fieldName!}" class="digits" value="${braceStart}paramter.${column.fieldName!}!${braceEnd}" maxlength="${column.columnSize!}"/>
					<#elseif column.javaTypeName=="Float" || column.javaTypeName=="Double" || column.javaTypeName=="Long" || column.javaTypeName=="BigDecimal">
					<input type="text" name="${column.fieldName!}" class="number" value="${braceStart}paramter.${column.fieldName!}!${braceEnd}" maxlength="${column.columnSize!}"/>
					<#else>
					<input type="text" name="${column.fieldName!}" value="${braceStart}paramter.${column.fieldName!}!${braceEnd}" maxlength="${column.columnSize!}"/>
					</#if>
				</td>
			</tr>
			</#list>
		</table>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li style="background-position: 100% -150px; display: block; float:left; overflow: hidden; padding: 3px 5px 0 0; text-decoration: none;">
				<#-- 以下form表单用于处理导出数据 -->
				<form id="list_search_export_form" action="${braceStart}request.contextPath${braceEnd}/test/export" method="post">
					<#list paramColumns as column>
					<input type="hidden" name="${column.fieldName!}" value="${braceStart}paramter.${column.fieldName!}!${braceEnd}" />
					</#list>
					<button class="icon" type="submit"	style="background: none;border: none;">导出EXCEL</button>
				</form>
			</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="202" asc="asc" desc="desc" style="overflow:auto">
		<thead>
			<tr >
				<#list columns as column>
				<th style="width:10%" orderField="${column.columnName!}" <${phoneCharacter!}if page.orderField=="${column.columnName!}"> class="${braceStart}page.orderDirection!${braceEnd}" </${phoneCharacter!}if>>${column.remark!}</th>
				</#list>
			</tr>
		</thead>
		<tbody>
			<${phoneCharacter!}list list as item>
			<tr >
				<#list columns as column>
				<#if column.javaTypeName=="Timestamp">
				<td>${braceStart}item.${column.fieldName!}?string('yyyy-MM-dd HH:mm:ss')${braceEnd}</td>
				<#elseif column.isPrimary>
				<td>
					<a href="${braceStart}request.contextPath${braceEnd}/test/detail?${column.fieldName!}=${braceStart}item.${column.fieldName!}${braceEnd}" target="navTab" title="${table.remark}" rel="${table.className}">
						<span style="color:blue;line-height:33px">${braceStart}item.${column.fieldName!}!${braceEnd}</span>
					</a>
				</td>
				<#else>
				<td>${braceStart}item.${column.fieldName!}!${braceEnd}</td>
				</#if>
				</#list>
			</tr>
			</${phoneCharacter!}list>
		</tbody>
	</table>
	<${emailCharacter!}dwz.pagerBar page=page/>
</div>